package zuoye4;


public class Test1 {
    public static void main(String[] args) {
        Student student = new Student("小明","男",18);
        Student student1 = new Student("小红","女",19);
        System.out.println(student);
        System.out.println(student1);

        System.out.println(student.equals(student1));
    }
}
